Skip to content

fix: wrong value strategy EQUAL/NOT_EQUAL operations eval#59

Merged
petruki merged 1 commit into
masterfrom
staging
May 13, 2026
Merged

fix: wrong value strategy EQUAL/NOT_EQUAL operations eval#59
petruki merged 1 commit into
masterfrom
staging

Conversation

@petruki
Copy link
Copy Markdown
Member

@petruki petruki commented May 13, 2026

This pull request updates the logic for handling equality and inequality operations in the _process_value function in snapshot.py. The changes make the equality check stricter and the inequality check more explicit.

Logic updates for value comparison:

  • Changed the equality operation to check if input_value is exactly equal to the first element of values, instead of checking for membership in the list.
  • Updated the inequality operation to explicitly return True only if input_value does not match any element in values, making the logic more precise.

@petruki petruki added this to the v1.1.0 milestone May 13, 2026
@petruki petruki self-assigned this May 13, 2026
@petruki petruki added bug Something isn't working patch Patches a code issue or dependency vulnerability/compatibility labels May 13, 2026
@sonarqubecloud
Copy link
Copy Markdown

@petruki petruki merged commit 22d13a5 into master May 13, 2026
15 checks passed
@petruki petruki deleted the staging branch May 13, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Patches a code issue or dependency vulnerability/compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant